home *** CD-ROM | disk | FTP | other *** search
/ CDUTIL 13 / CDUTIL #13 Julio 1995.iso / windows / acadwin / support / render.dcl < prev    next >
Encoding:
Text File  |  1995-02-08  |  16.1 KB  |  650 lines

  1. // Next available MSG number is    91 
  2. // MODULE_ID RENDER_DCL_
  3.  
  4. //     Copyright (C) 1991, 1992, 1993, 1994 by Autodesk, Inc.
  5. //
  6. //     Permission to use, copy, modify, and distribute this software
  7. //     for any purpose and without fee is hereby granted, provided
  8. //     that the above copyright notice appears in all copies and
  9. //     that both that copyright notice and the limited warranty and
  10. //     restricted rights notice below appear in all supporting
  11. //     documentation.
  12. //
  13. //     AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
  14. //     AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
  15. //     MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE.  AUTODESK, INC.
  16. //     DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
  17. //     UNINTERRUPTED OR ERROR FREE.
  18. //
  19. //     Use, duplication, or disclosure by the U.S. Government is subject to
  20. //     restrictions set forth in FAR 52.227-19 (Commercial Computer
  21. //     Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
  22. //     (Rights in Technical Data and Computer Software), as applicable.
  23. //
  24. //.
  25.  
  26. //****************************************************************************
  27. //
  28. // R13 Render Dialogue Control Language (DCL) -- Version 1.0
  29. //
  30. //****************************************************************************
  31.  
  32. // Change level to 3 for new DCL auditing.
  33. dcl_settings : default_dcl_settings { }
  34.  
  35. @include /*MSG0*/"rendcomm.dcl"
  36.  
  37. //****************************************************************************
  38. //
  39. // Sub-assemblies common to the render and preferences dialog
  40. //
  41. //****************************************************************************
  42. render_quality_ave : popup_list {
  43.     label = "Tipo modelizado:";
  44.     key = /*MSG0*/"pf_st";
  45.     mnemonic = "T";
  46.     list = "Render de AutoCAD";
  47.     render_types = /*MSG0*/"crender";
  48.     edit_width = 20;
  49.     fixed_width = true;
  50. }
  51.  
  52. render_procedure_ave : boxed_column {
  53.     label = "Procedimiento de modelizado";
  54.     : toggle {
  55.         key = /*MSG0*/ "pf_sd";
  56.         label = "Sin dißlogo Render";
  57.         mnemonic = "d";
  58.     }
  59.     : radio_column {
  60.         key = /*MSG0*/"pf_rp";
  61.         : radio_button {
  62.             key = /*MSG0*/"pf_rp_10";
  63.             label = "Escena completa Render";
  64.             mnemonic = "R";
  65.         }
  66.         : radio_button {
  67.             key = /*MSG0*/"pf_rp_20";
  68.             label = "Consulta para las selecciones";
  69.             mnemonic = "C";
  70.         }
  71.     }
  72. }
  73.  
  74. render_options_ave : boxed_column {
  75.     label = "Opciones de modelizado";
  76.     : toggle {
  77.         key = /*MSG0*/"pf_ss";
  78.         label = "Sombreado suave";
  79.         mnemonic = "S";
  80.     }
  81.     : toggle {
  82.         key = /*MSG0*/"pf_mo";
  83.         label = "Fusionar";
  84.         mnemonic = "F";
  85.     }
  86.     : toggle {
  87.         key = /*MSG0*/"pf_af";
  88.         label = "Aplicar materiales";
  89.         mnemonic = "A";
  90.     }
  91.     : edit_box_4 {
  92.         label = "Ang. de suavizado:";
  93.         key = /*MSG0*/"pf_sa";
  94.         mnemonic = "z";
  95.     }
  96.     : button {
  97.         key = /*MSG0*/"Options";
  98.         label = "Mßs opciones...";
  99.         mnemonic = "o";
  100.     }
  101. }
  102.  
  103.  
  104. ave_render_destination : boxed_column {
  105.     label = "Destino";
  106.     : popup_list {
  107.         key = /*MSG0*/"pf_ds";
  108.         list = "Ventana grßf.\nVentana Render\nArchivo";
  109.     }
  110.     spacer_1;
  111.     : column {
  112.         : var_text {
  113.             key = /*MSG0*/"pf_width";
  114.             alignment = left;
  115.             label = "Anchura: 640";
  116.         }
  117.         : var_text {
  118.             key = /*MSG0*/"pf_height";
  119.             alignment = left;
  120.             label = "Altura: 480";
  121.         }
  122.         : var_text {
  123.             key = /*MSG0*/"pf_colors";
  124.             alignment = left;
  125.             label = "Colores: 8 bits";
  126.         }
  127.     }
  128.     spacer_1;
  129.     : button {
  130.         key = /*MSG0*/"FOptions";
  131.         label = "Mßs opciones...";
  132.         mnemonic = "p";
  133.     }
  134. }
  135.  
  136. render_settings_ave : column {
  137.     : boxed_column {
  138.         label = "Luces";
  139.         : edit_box_4 {
  140.             label = "Escala de icono:";
  141.             key = /*MSG0*/"pf_ic_tx";
  142.             mnemonic = "i";
  143.         }
  144.     }
  145.     spacer_1;    
  146.     : button {
  147.         label = "Informaci≤n...";
  148.         key = /*MSG0*/"Info";
  149.         mnemonic = "n";
  150.     }
  151.     : button {
  152.         label = "Reconfigurar <";
  153.         key = /*MSG0*/"Reconfigure";
  154.         mnemonic = "e";
  155.     }
  156. }
  157.  
  158. pref_ave : dialog {
  159.     label = "Preferencias de modelizado";
  160.     render_quality_ave;
  161.     : row {
  162.         render_colormap;
  163.         render_procedure_ave;
  164.     }
  165.     : row {
  166.         render_options_ave;
  167.         ave_render_destination;
  168.         render_settings_ave;
  169.     }
  170.     spacer_1_ok_cancel_help_errtile;
  171. }
  172.  
  173. render_ave : dialog {
  174.     label = "Render";
  175.     render_quality_ave;
  176.     : row {
  177.         render_scene_list;
  178.         : column { 
  179.             render_colormap2;
  180.             render_options_ave;
  181.         }
  182.         : column {
  183.             ave_render_destination;
  184.         }
  185.     }
  186.     spacer_1;
  187.     : row {
  188.         fixed_width = true;
  189.         alignment = centered;
  190.         : button {
  191.             key = /*MSG0*/"pf_re_scene";
  192.             label = "Escena Render";
  193.             is_default = true;
  194.         }
  195.         : spacer { width = 2; }
  196.         : button {
  197.             key = /*MSG0*/"pf_re_ent";
  198.             label = "Objetos Render <";
  199.         }
  200.         : spacer { width = 2; }
  201.         cancel_button;
  202.         : spacer { width = 2; }
  203.         help_button;
  204.     }
  205.     errtile;
  206. }
  207.  
  208. //***************************************************************************
  209. // Statistics dialog box
  210.  
  211. rend_stats : dialog {
  212.     label = "Estadφsticas";
  213.     width = 50;
  214.     spacer_1;
  215.     : var_text { key = /*MSG0*/"name"; }
  216.     : var_text { key = /*MSG0*/"stype"; }
  217.     : var_text { key = /*MSG0*/"stime"; }
  218.     : var_text { key = /*MSG0*/"record"; }
  219.     : var_text { key = /*MSG0*/"faces"; }
  220.     : var_text { key = /*MSG0*/"triangles"; }
  221.     spacer_1;
  222.     : row {
  223.         alignment = centered;
  224.         fixed_width = true;
  225.         width = 39;
  226.         : toggle {
  227.             label = "Guardar datos en archivo:";
  228.             mnemonic = "G";
  229.             key = /*MSG0*/"save_stats";
  230.             height = 1;
  231.         }
  232.         : edit_box {
  233.             label = "";
  234.             key = /*MSG0*/"stats_name";
  235.             edit_width = 14;
  236.             edit_limit = 132;
  237.         }
  238.     }
  239.     spacer_1_ok_cancel_help_errtile;
  240. }
  241.  
  242. //****************************************************************************
  243. // Main light dialog.
  244.  
  245. ave_light : dialog {
  246.     label = "Luces";
  247.     key = /*MSG0*/"dialog";
  248.     dialog_kind = /*MSG0*/"main";
  249.     : row {
  250.         : column {
  251.             : row {
  252.                 : list_box_8x8 {
  253.                     key = /*MSG0*/"list";
  254.                     label = "Luces:";
  255.                     mnemonic = "L";
  256.                 }
  257.                 : column {
  258.                     spacer_0;
  259.                     button_mod;
  260.                     button_del;
  261.                     button_pkt;
  262.                     spacer_0;
  263.                 }
  264.             }
  265.             : row {
  266.                 button_new;
  267.                 : popup_list { 
  268.                     key = /*MSG0*/"light_type_popup";
  269.                     edit_width = 15;
  270.                     mnemonic = "T";
  271.                     list = "Luz puntual\nLuz distante\nFoco";
  272.                     light_types = /*MSG0*/"overhead\ndirect\nsh_spot";
  273.                 }
  274.             }
  275.         }
  276.         spacer;
  277.         : column {
  278.             children_alignment = centered;
  279.             : boxed_column {
  280.                 label = "Luz ambiental";
  281.                 : edit_box_4 {
  282.                     label = "Intensidad:";
  283.                     key = /*MSG0*/"ambient_t";
  284.                     mnemonic = "I";
  285.                 }
  286.                 : slider_0_1 { key = /*MSG0*/"ambient_s"; }
  287.                 light_color_panel;
  288.             }
  289.         }
  290.     }
  291.     spacer_1_ok_cancel_help_errtile;
  292. }
  293.  
  294. //****************************************************************************
  295. // Dialog to edit the currently selected Point light definition.
  296.  
  297. ave_point_light : dialog {
  298.     key = /*MSG0*/"dialog";
  299.     dialog_kind = /*MSG0*/"point";
  300.     : row {
  301.         ave_basic_lights;
  302.         : column {
  303.             alignment = top;
  304.             fixed_height = true;
  305.             attenuation_panel;
  306.             spacer_0;
  307.         }
  308.     }
  309.     spacer_1_ok_cancel_help_errtile;
  310. }
  311.  
  312.  
  313. //****************************************************************************
  314. // Dialog to edit the currently selected Spot light definition.
  315.  
  316. ave_spotlight : dialog {
  317.     key = /*MSG0*/"dialog";
  318.     dialog_kind = /*MSG0*/"spot";
  319.     : row {
  320.         ave_basic_lights;
  321.         : column {
  322.             ave_spot_lights;
  323.             attenuation_panel;
  324.         }
  325.     }
  326.     spacer_1_ok_cancel_help_errtile;
  327. }
  328.  
  329. //****************************************************************************
  330. // Tile used only by Spotlights.
  331.  
  332. ave_spot_lights : column {
  333.     fixed_height = true;
  334.     : edit_box_8 {
  335.         label = "Haz de luz:";
  336.         key = /*MSG0*/"conea_t";
  337.         mnemonic = "H";
  338.     }
  339.     : slider {
  340.         key = /*MSG0*/"conea_s";
  341.         min_value = 0;
  342.         max_value = 160;
  343.         small_increment = 1;
  344.         big_increment = 10;
  345.     }
  346.     : edit_box_8 {
  347.         label = "Difuminaci≤n:";
  348.         key = /*MSG0*/"coned_t";
  349.         mnemonic = "D";
  350.     }
  351.     : slider {
  352.         key = /*MSG0*/"coned_s";
  353.         min_value = 0;
  354.         max_value = 160;
  355.         small_increment = 1;
  356.         big_increment = 10;
  357.     }
  358. }
  359. //****************************************************************************
  360. // Dialog to edit distant lights (sun).
  361.  
  362. ave_distant_light : dialog {
  363.     key = /*MSG0*/"dialog";
  364.     dialog_kind = /*MSG0*/"distant";
  365.     : row {
  366.         : column {
  367.             distant_light_parameters_panel;
  368.         }
  369.         : column {
  370.             azimuth_altitude_panel;
  371.             light_source_panel;
  372.         }
  373.     }
  374.     spacer_1_ok_cancel_help_errtile;
  375. }
  376.  
  377.  
  378. //****************************************************************************
  379. //Materials list dialog
  380.  
  381. rend_list : dialog {
  382.     label = "Biblioteca de materiales";
  383.     : column { 
  384.         key = /*MSG0*/"top_key";
  385.         : row {
  386.             material_column;
  387.             : column {
  388.                 finish_preview;
  389.                 spacer_0;
  390.                 import_export_delete;
  391.                 spacer_0;
  392.             }
  393.             library_column;
  394.         }
  395.         spacer_1_ok_cancel_help_custom;
  396.     }
  397. }
  398.  
  399.  
  400. //****************************************************************************
  401. // Main material dialog
  402.  
  403. ave_finish : dialog {
  404.   label = "Materiales";
  405.   : column {
  406.     key = /*MSG0*/"top_key";
  407.     : row {
  408.         material_list;
  409.         material_preview_and_select;
  410.         : column {
  411.             width = 18;
  412.             spacer_0;
  413.             button_mod;
  414.             button_dup;
  415.             button_new;
  416.             spacer_0;
  417.             material_attach;
  418.         }
  419.     }
  420.     spacer_1_ok_cancel_help_errtile;
  421.   }
  422. }
  423.  
  424.  
  425. material_preview_and_select : column {
  426.     finish_preview;
  427.     spacer_1;
  428.     button_imp;
  429.     button_pkt;
  430. }
  431.  
  432.  
  433. //
  434. // Dialogs to edit a minimal, standard, granite, marble, or wood material.
  435. //
  436.  
  437. ave_minimal_material_mod : dialog {
  438.   key = /*MSG0*/"dialog";
  439.   : column {
  440.     key = /*MSG0*/"top_key";
  441.     material_name;
  442.     : row {
  443.         minimal_attributes;
  444.         minimal_value_color_preview;
  445.     }
  446.     spacer_1_ok_cancel_help_errtile;
  447.   }
  448. }
  449.  
  450. minimal_attributes : boxed_column {
  451.     label = "Atributos";
  452.     : row {
  453.         : radio_column {
  454.             key = /*MSG0*/"attribute";
  455.             alignment = top;
  456.             : radio_button {
  457.                 label = "Color";
  458.                 key = /*MSG0*/"diffuse";
  459.                 mnemonic = "l";
  460.             }
  461.             : radio_button {
  462.                 label = "Ambiente";
  463.                 key = /*MSG0*/"ambient";
  464.                 mnemonic = "A";
  465.             }
  466.             : radio_button {
  467.                 label = "Reflexi≤n";
  468.                 key = /*MSG0*/"reflection";
  469.                 mnemonic = "e";
  470.             }
  471.             : radio_button {
  472.                 label = "Aspereza";
  473.                 key = /*MSG0*/"roughness";
  474.                 mnemonic = "z";
  475.             }
  476.         }
  477.         : column {
  478.             : sample_image { key = /*MSG0*/"sample_0"; }
  479.             : sample_image { key = /*MSG0*/"sample_1"; }
  480.             : sample_image { key = /*MSG0*/"sample_2"; } 
  481.             spacer_1_5;
  482.        }
  483.     }
  484. }
  485.  
  486.  
  487. sample_image : image_button {
  488.     color = -15;
  489.     height = 1.5;
  490.     aspect_ratio = 1;
  491.     fixed_height = true;
  492.     fixed_width = true;
  493.     is_tab_stop = false;
  494. }
  495.  
  496.  
  497.  
  498. minimal_value_color_preview : column {
  499.     : row {
  500.         : column {
  501.             value_edit_slider;
  502.             minimal_color_widget;
  503.         }
  504.         finish_preview;
  505.     }
  506. }
  507.  
  508.  
  509. minimal_color_widget : boxed_row {
  510.     label = "Color";
  511.     : column {
  512.         : row {
  513.             : toggle {
  514.                 label = "Desde ACI";
  515.                 key = /*MSG0*/"by_aci";
  516.                 mnemonic = "s";
  517.             }
  518.             lock;
  519.         }
  520.         color_system;
  521.         variable_color_model;
  522.         display_and_get_color;
  523.     }
  524. }
  525.  
  526.  
  527. variable_color_model : row {
  528.     : column {
  529.         : text {
  530.             key = /*MSG0*/"top_text";
  531.             width = 10;
  532.             value = "Rojo:";
  533.         }
  534.         : text {
  535.             key = /*MSG0*/"middle_text";
  536.             width = 10;
  537.             value = "Verde:";
  538.         }
  539.         : text {
  540.             key = /*MSG0*/"bottom_text";
  541.             width = 10;
  542.             value = "Azul:";
  543.         }
  544.     }
  545.     : column {
  546.         : edit_box_4 {
  547.             label = "";
  548.             key = /*MSG0*/"top_edit";
  549.         } 
  550.         : edit_box_4 {
  551.             label = "";
  552.             key = /*MSG0*/"middle_edit";
  553.         } 
  554.         : edit_box_4 {
  555.             label = "";
  556.             key = /*MSG0*/"bottom_edit";
  557.         }
  558.     }
  559.     : column {
  560.         : slider_0_1_fixed { key = /*MSG0*/"top_slider"; }
  561.         : slider_0_1_fixed { key = /*MSG0*/"middle_slider"; }
  562.         : slider_0_1_fixed { key = /*MSG0*/"bottom_slider"; }
  563.     }
  564. }
  565.  
  566.  
  567. //
  568. // Material attach by ACI dialogue.
  569. //
  570.  
  571. rend_material_aci : dialog {
  572.   label = "Enlazar desde Indice de colores de AutoCAD (ACI)";
  573.   : column {
  574.     key = /*MSG0*/"top_key";
  575.     : row {
  576.         : list_box {
  577.             key = /*MSG0*/"list";
  578.             label = "Designar un material:";
  579.             mnemonic = "m";
  580.             width = 18;
  581.         }
  582.         : column {
  583.             finish_preview;
  584.             : button {
  585.                 label = "Enlazar ->";
  586.                 key = /*MSG0*/"attach";
  587.                 mnemonic = "E";
  588.             }
  589.             : button {
  590.                 label = "Desenlazar";
  591.                 key = /*MSG0*/"detach";
  592.                 mnemonic = "D";
  593.             }
  594.         }
  595.         : list_box {
  596.             key = /*MSG0*/"index";
  597.             label = "Designar ACI:";
  598.             mnemonic = "A";
  599.             width = 31;
  600.             tabs = /*MSG0*/"4 12";
  601.             multiple_select = true;
  602.             fixed_width_font = true;
  603.         }
  604.     }
  605.     spacer_1_ok_cancel_help_errtile;
  606.   }
  607. }
  608.  
  609.  
  610. //
  611. // Material attach by layer dialogue.
  612. //
  613.  
  614. rend_material_layer : dialog {
  615.   label = "Enlazar por capa";
  616.   : column {
  617.     key = /*MSG0*/"top_key";
  618.     : row {
  619.         : list_box {
  620.             key = /*MSG0*/"list";
  621.             label = "Desig. material:";
  622.             mnemonic = "m";
  623.             width = 18;
  624.         }
  625.         : column {
  626.             finish_preview;
  627.             : button {
  628.                 label = "Enlazar ->";
  629.                 key = /*MSG0*/"attach";
  630.                 mnemonic = "E";
  631.             }
  632.             : button {
  633.                 label = "Desenlazar";
  634.                 key = /*MSG0*/"detach";
  635.                 mnemonic = "D";
  636.             }
  637.         }
  638.         : list_box {
  639.             key = /*MSG0*/"layer";
  640.             label = "Designar capa:";
  641.             mnemonic = "c";
  642.             width = 38;
  643.             tabs = /*MSG0*/"22";
  644.             multiple_select = true;
  645.         }
  646.     }
  647.     spacer_1_ok_cancel_help_errtile;
  648.   }
  649. }
  650.